package com.store.app.bean;

/**
 * Created by Administrator on 2016/11/23.
 */
public class ShopCarBean {
    int type ;              //区分类型
    boolean isCheck;        //是否选中
    int position;           //位置
    int parentPosition;    //所属父窗体的下标

    public int getParentPosition() {
        return parentPosition;
    }

    public void setParentPosition(int parentPosition) {
        this.parentPosition = parentPosition;
    }

    public int getPosition() {
        return position;
    }

    public int getType() {
        return type;
    }

    public void setIsCheck(boolean isCheck) {
        this.isCheck = isCheck;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public void setType(int type) {
        this.type = type;
    }

    public boolean isCheck() {
        return isCheck;
    }

    public ShopCarBean(int type,boolean isCheck,int position){
        this.position=position;
        this.type=type;
        this.isCheck=isCheck;
    }
    public ShopCarBean(int type,boolean isCheck,int position,int parentPosition){
        this.position=position;
        this.type=type;
        this.isCheck=isCheck;
        this.parentPosition=parentPosition;
    }
}
